home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss - An input manager function that updates attributes of an input context SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS #include <Xm/XmIm.h> vvvvooooiiiidddd XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss( WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt, AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt, CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt, ); VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents Motif 2.1. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss updates attributes of the input context associated with the specified widget. The _a_r_g_l_i_s_t argument is a list of attribute/value pairs for the input context. This function passes the attributes and values to _X_I_C_S_e_t_V_a_l_u_e_s. The initial call to this routine should pass in all of the input context attributes. Thereafter, the application programmer calls XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss, for an XIC, only if a value has changed. If the previous parameters for the widget's XIC do not allow the previously registered XIC to be reused, that XIC will be unregistered, and a new one will be created and registered with the widget. Note that sharing of data is preserved. Note that the Text and TextField widgets call the XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss function when they receive focus. Therefore, further calls to the XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss function for these widgets are unnecessary. _w_i_d_g_e_t Specifies the ID of the widget registered with the input manager _a_r_g_l_i_s_t Specifies the list of attribute/value pairs to be passed to _X_I_C_S_e_t_V_a_l_u_e_s; the following attributes are accepted: _X_m_N_p_r_e_e_d_i_t_S_t_a_r_t_C_a_l_l_b_a_c_k_X_m_N_p_r_e_e_d_i_t_D_o_n_e_C_a_l_l_b_a_c_k_X_m_N_p_r_e_e_d_i_t_D_r_a_w_C_a_l_l_b_a_c_kand _X_m_N_p_r_e_e_d_i_t_C_a_r_e_t_C_a_l_l_b_a_c_k. These attributes accept an accompanying value of type pointer to structure of type _X_I_M_C_a_l_l_b_a_c_k. These callbacks are used only when the _X_m_N_p_r_e_e_d_i_t_T_y_p_eresource of the relevant _V_e_n_d_o_r_S_h_e_l_l has the "onthespot" value, and that the XIM supports _X_I_M_P_r_e_e_d_i_t_C_a_l_l_b_a_c_k_s input style. These values are ignored if the condition is not met. Page 1 (printed 10/3/02) XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX)))) For each of these callbacks, if the callback value is not set by this function, no action will be taken when the Input Method tries to call this callback. Refer to the "Xlib - C Language X Interface, X Version 11, Release 6," Chapter 13 for the detail of these callbacks. _a_r_g_c_o_u_n_t Specifies the number of attribute/values pairs in the argument list (_a_r_g_l_i_s_t) Resources that can be set for the input context include: XXXXmmmmNNNNbbbbaaaacccckkkkggggrrrroooouuuunnnndddd Specifies the pixel value for the background color. XXXXmmmmNNNNbbbbaaaacccckkkkggggrrrroooouuuunnnnddddPPPPiiiixxxxmmmmaaaapppp Specifies a pixmap for tiling the background. XXXXmmmmNNNNffffoooonnnnttttLLLLiiiisssstttt Specifies the font list used by the widget. The input method uses the first occurrence of a font set tagged with XXXXmmmmFFFFOOOONNNNTTTTLLLLIIIISSSSTTTT____DDDDEEEEFFFFAAAAUUUULLLLTTTT____TTTTAAAAGGGG. If no such instance is found, the first font set in the font list is used. If the font list does not contain a font set, a value is not passed to _X_I_C_S_e_t_V_a_l_u_e_s. XXXXmmmmNNNNffffoooorrrreeeeggggrrrroooouuuunnnndddd Specifies the pixel value for the foreground color. XXXXmmmmNNNNlllliiiinnnneeeeSSSSppppaaaacccceeee Specifies the line spacing used in the pre-edit window. XXXXmmmmNNNNrrrreeeennnnddddeeeerrrrTTTTaaaabbbblllleeee Specifies the render table used by the widget. XXXXmmmmNNNNssssppppoooottttLLLLooooccccaaaattttiiiioooonnnn Specifies the _x and _y coordinates of the position where text will be inserted in the widget handling input, whose input method style is """"OOOOvvvveeeerrrrTTTThhhheeeeSSSSppppooootttt"""". The _ycoordinate is the position of the baseline used by the current text line. The caller may also pass any other vendor-defined resources to this function. For additional information on the internationalization interface, see the Xlib documentation. RRRREEEELLLLAAAATTTTEEEEDDDD XXXXmmmmIIIImmmmSSSSeeeettttFFFFooooccccuuuussssVVVVaaaalllluuuueeeessss(3), XXXXmmmmIIIImmmmVVVVaaaaSSSSeeeettttFFFFooooccccuuuussssVVVVaaaalllluuuueeeessss(3), and XXXXmmmmIIIImmmmVVVVaaaaSSSSeeeettttVVVVaaaalllluuuueeeessss(3). Page 2 (printed 10/3/02)